package com.hoyue.classroom.dao;

import com.hoyue.classroom.bean.Score;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 空白
 * @version 1.0
 * Create by 2019/09/05 09:30
 */
public interface ScoreMapper {

    /**
     * 查询用户所有成绩
     * @param userId 用户id
     * @param courseId 课程id
     * @return
     */
    List<Score> getScore(@Param("userId") Integer userId, @Param("courseId") Integer courseId);

}
